﻿using Basic.FormRemoteModel;
using SqlSugar;

namespace Basic.FormModel.QueryColumn
{
    public class PhyQueryColumn
    {
        public long Id { get; set; }

        public long TableId
        {
            get;
            set;
        }
        public long GroupId { get; set; }

        public string ColLabel
        {
            get;
            set;
        }

        public string ColName
        {
            get;
            set;
        }
        public PhyTableDataType DataType
        {
            get;
            set;
        }
        public FormColumnFuncType FuncType
        {
            get;
            set;
        }
        public PhyColShowMode ShowMode
        {
            get;
            set;
        }
        public long? DictId { get; set; }

        [SugarColumn(IsJson = true)]
        public Dictionary<string, object> ColumnSet
        {
            get;
            set;
        }
        public bool IsHidden { get; set; }

        public bool IsQueryHide { get; set; }

        public int Sort { get; set; }

        public int? Width { get; set; }
    }
}
